﻿using LinFu.AOP.Interfaces;


namespace CoreEx.Common.Proxy
{
    /// <summary>
    /// Represents a typed version of the <see cref="IInterceptor"/> interface.
    /// </summary>
    /// <typeparam name="TTarget">The type of object that will be intercepted.</typeparam>
    public interface IInterceptor<TTarget> : IInterceptor
    {
        /// <summary>
        /// Gets or sets the actual target being intercepted.
        /// </summary>
        TTarget ActualTarget { get; set; }
    }
}